<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<title>Asian Shop Index</title>
    	<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/user/css/master.css" type="text/css" />
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/user/css/reset.css" type="text/css" />
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/user/css/nivo-slider.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/user/css/themes/style.css" type="text/css" />
        <link media="screen" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/user/css/themes/default/default.css" rel="stylesheet"/>
        <link media="screen" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/user/css/style.css" rel="stylesheet"/>
        
        <script language="javascript" type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/user/js/jquery.js"></script>
        <script language="javascript" type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/user/js/jcarousellite_1.0.1.js"></script>
        <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/user/js/jquery.nivo.slider.js"></script>
        
        <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/user/js/bezoom.js"></script>
	    <script src="<?php echo Yii::app()->request->baseUrl; ?>/css/user/js/jquery-1.6.js" type="text/javascript"></script>
	    <script src="<?php echo Yii::app()->request->baseUrl; ?>/css/user/js/jquery.jqzoom-core.js" type="text/javascript"></script>
	
	    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/user/css/jquery.jqzoom.css" type="text/css" />
        <script type="text/javascript">
			$(window).load(function() {
				$('#slide_show').nivoSlider();
			});
			$(function() {
				$(".scroller_product").jCarouselLite({
					btnNext: ".next",
					btnPrev: ".prev",
					 visible: 5
				});
			});
		</script>
    </head>
    
    <body>
    	<div id="wrap">
        
        	<!-- Phần đầu trang -->
        	<div id="header">
            	<div id="top_header">
                	<a href="#" id="logo"><img src="<?php echo Yii::app()->request->baseUrl; ?>/css/user/images/logo.png" /></a>
                    <div id="search_box">
                    	<form action="#" name="form_search">
                        	<input type="text" name="ip_search" class="ip_search"/>
                            <input type="submit" name="ip_submit" value="" class="btn_search"/>
                        </form>
                    </div>
                </div>
                <ul>
                	<?php $parent_menu = menu::model()->LayMenuTheoMenu_Id();
                	if ($parent_menu != false) {
						foreach ($parent_menu as $rowp) {  ?>
							<li><a href="<?php echo $rowp->Link?>"><?php echo $rowp->NoiDung?></a>
			                    <?php $child_menu = menu::model()->LayMenuTheoMenu_Id($rowp->Id);
				                if ($child_menu != false) {?>
			                    	<ul class="menu_child">
			                    	<?php foreach ($child_menu as $rowc) {?>
				                		<li><a href="<?php echo $rowc->Link?>"><?php echo $rowc->NoiDung ?></a></li>
			                    	<?php }?>
			                    	</ul>
			                    <?php }?>
							</li>   
						<?php }
					}?>
                </ul>
            </div>
            <!-- Kết thúc phần đầu trang -->
            
            <!-- Bắt đầu phần thân  -->
            <?php echo $content;?>
            <!-- Kết thúc phần thân -->
            
        </div>
        
        <!-- Bắt đầu Footer -->
        <div id="footer">
        	<div class="footer_content">
            	<ul>
                	<li>Copyright by Asian Shop</li>
                	<li>Address: </li>
                	<li>Email:</li>
                </ul>
                <ul>
                    <li><a href="#">Trang chủ</a></li>
                    <li><a href="#">Sản phẩm</a></li>
                    <li><a href="#">Giới thiệu</a></li>
                    <li><a href="#">Liên hệ</a></li>
                </ul>
                <ul>
                    <li><a href="#">Chính sách sử dụng</a></li>
                    <li><a href="#">Cách thức thanh toán</a></li>
                    <li><a href="#">Phương thức vận chuyển</a></li>
                    <li><a href="#">Hỗ trợ trực tuyến</a></li>
                </ul>
            </div>
        </div>
        <!-- Kết thúc phần footer -->
    </body>
</html>
